{"ast":null,"code":"import _objectSpread from\"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";import React from'react';import{Home}from\"../../\";import{UserItem}from\"../../../components\";import{Context}from\"../../../index\";import{observer}from\"mobx-react-lite\";import{jsx as _jsx}from\"react/jsx-runtime\";import{jsxs as _jsxs}from\"react/jsx-runtime\";import{Fragment as _Fragment}from\"react/jsx-runtime\";var Contacts=function Contacts(){var _React$useContext=React.useContext(Context),store=_React$useContext.store;return/*#__PURE__*/_jsx(Home,{childrenFirst:/*#__PURE__*/_jsxs(\"div\",{className:\"messenger__sidebar-item\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"messenger__sidebar-item-header\",children:/*#__PURE__*/_jsx(\"div\",{className:\"messenger__sidebar-item-header-top\",children:/*#__PURE__*/_jsx(\"span\",{children:\"\\u0421\\u043F\\u0438\\u0441\\u043E\\u043A \\u043A\\u043E\\u043D\\u0442\\u0430\\u043A\\u0442\\u043E\\u0432\"})})}),/*#__PURE__*/_jsxs(\"div\",{className:\"messenger__sidebar-users\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"messenger__sidebar-users__find\"}),/*#__PURE__*/_jsx(\"div\",{className:\"messenger__sidebar-users__received\",children:/*#__PURE__*/_jsx(UserItem,{profile:_objectSpread({},store.getProfile())})})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"messenger__sidebar-contacts\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"messenger__sidebar-contacts__add-requests\"}),/*#__PURE__*/_jsx(\"div\",{className:\"messenger__sidebar-contacts__sent-requests\"}),/*#__PURE__*/_jsx(\"div\",{className:\"messenger__sidebar__all-accepted\"})]})]}),childrenSecond:/*#__PURE__*/_jsx(_Fragment,{})});};export default observer(Contacts);","map":{"version":3,"names":["React","Home","UserItem","Context","observer","Contacts","useContext","store","getProfile"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/src/pages/Home/Contacts/index.tsx"],"sourcesContent":["import React from 'react';\nimport {Home} from \"../../\";\nimport {UserItem} from \"../../../components\";\nimport {Context} from \"../../../index\";\nimport {observer} from \"mobx-react-lite\";\n\nconst Contacts = () => {\n    const {store} = React.useContext(Context);\n\n    return (\n        <Home\n            childrenFirst={\n                <div className=\"messenger__sidebar-item\">\n                    <div className=\"messenger__sidebar-item-header\">\n                        <div className=\"messenger__sidebar-item-header-top\">\n                            <span>Список контактов</span>\n                        </div>\n                    </div>\n                    <div className=\"messenger__sidebar-users\">\n                        <div className=\"messenger__sidebar-users__find\"></div>\n                        <div className=\"messenger__sidebar-users__received\">\n                            <UserItem profile={{...store.getProfile()}} />\n                        </div>\n                    </div>\n                    <div className=\"messenger__sidebar-contacts\">\n                        <div className=\"messenger__sidebar-contacts__add-requests\"></div>\n                        <div className=\"messenger__sidebar-contacts__sent-requests\"></div>\n                        <div className=\"messenger__sidebar__all-accepted\"></div>\n                    </div>\n                </div>\n            } childrenSecond={<></>}\n        />\n    );\n}\n\nexport default observer(Contacts);"],"mappings":"6IAAA,MAAOA,MAAK,KAAM,OAAO,CACzB,OAAQC,IAAI,KAAO,QAAQ,CAC3B,OAAQC,QAAQ,KAAO,qBAAqB,CAC5C,OAAQC,OAAO,KAAO,gBAAgB,CACtC,OAAQC,QAAQ,KAAO,iBAAiB,CAAC,6IAEzC,GAAMC,SAAQ,CAAG,QAAXA,SAAQ,EAAS,CACnB,sBAAgBL,KAAK,CAACM,UAAU,CAACH,OAAO,CAAC,CAAlCI,KAAK,mBAALA,KAAK,CAEZ,mBACI,KAAC,IAAI,EACD,aAAa,cACT,aAAK,SAAS,CAAC,yBAAyB,wBACpC,YAAK,SAAS,CAAC,gCAAgC,uBAC3C,YAAK,SAAS,CAAC,oCAAoC,uBAC/C,qHAA6B,EAC3B,EACJ,cACN,aAAK,SAAS,CAAC,0BAA0B,wBACrC,YAAK,SAAS,CAAC,gCAAgC,EAAO,cACtD,YAAK,SAAS,CAAC,oCAAoC,uBAC/C,KAAC,QAAQ,EAAC,OAAO,kBAAMA,KAAK,CAACC,UAAU,EAAE,CAAE,EAAG,EAC5C,GACJ,cACN,aAAK,SAAS,CAAC,6BAA6B,wBACxC,YAAK,SAAS,CAAC,2CAA2C,EAAO,cACjE,YAAK,SAAS,CAAC,4CAA4C,EAAO,cAClE,YAAK,SAAS,CAAC,kCAAkC,EAAO,GACtD,GAEb,CAAC,cAAc,cAAE,kBAAM,EAC1B,CAEV,CAAC,CAED,cAAeJ,SAAQ,CAACC,QAAQ,CAAC"},"metadata":{},"sourceType":"module"}